import React from 'react';
import CommonPage from '@/components/page/CommonPage';
const daoName = 'ShConfIndiDecdCpql';

const columns: API.Column[] = [
  {
    title: '产品编号',
    width: 120,
    sorter: true,
    key: 'CPBH',
    dataIndex: 'CPBH',
    dispaly: true,
    canEdit: true,
    filter: true,
    export: true,
  },
  {
    title: '产品名称',
    width: 120,
    sorter: true,
    key: 'CPNM',
    dataIndex: 'CPNM',
    dispaly: true,
    canEdit: true,
    filter: true,
    export: true,
  },
];
const controls: API.Control[] = [
  {
    name: 'CPBH',
    type: 'text',
    label: '产品编号',
    grid: 12 / 24,
    rules: [{ required: true, message: '产品编号不能为空' }],
  },
  {
    name: 'CPNM',
    type: 'text',
    label: '产品名称',
    grid: 12 / 24,
    rules: [{ required: true, message: '产品名称不能为空' }],
  },
];

const ShConfIndiDecdCpqlForm: React.FC = () => {
  return (
    <CommonPage
      daoName={daoName}
      columns={columns}
      controls={controls}
      title="零售大额存单清零补录"
      keyColName="ID"
    />
  );
};

export default ShConfIndiDecdCpqlForm;
